#ifndef _VN_KILL_COUNTER_H_
#define _VN_KILL_COUNTER_H_

#include <string>

#include "..\Graphics\Text.h"

class Message;
class ComponentVisitor;
class KillCounter
{
public:
	KillCounter(int p_count);
	virtual ~KillCounter(void);

	void killMsg(const std::string&, Message*);
	void acceptVisitor(ComponentVisitor* p_componentVisitor);

	int getKillCount() const { return m_elapsed_kills; }
	void setCurrentKillCount(int p_killCount);

protected:
	void complete();

	int m_target_kills;
	int m_elapsed_kills;
	vn::Text* m_text;
	vn::Text* m_counter;
};

#endif // _VN_KILL_COUNTER_H_